package com.huasheng;

import org.springframework.boot.Banner.Mode;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;


/**
 * SpringBoot
 *
 * @author Joey
 * @Email wangguoqing_it@163.com
 */
@ServletComponentScan
@SpringBootApplication(scanBasePackages = {"com.huasheng"})
public class App {

    public static void main(String[] args) {
        SpringApplication app = new SpringApplication(App.class);
        app.setBannerMode(Mode.CONSOLE);
        app.run(args);
    }

}
